//##################################################################
// Description.ext                       
// RUSSIANS KNOCK OUT                       
// Made by Jason Bourne for Recon Server. version 1.2, 2007-07-14                        
//##################################################################
//                       MISSION SETTINGS
//##################################################################
onLoadMission="Russian Knockout - Nogova Island";
onLoadMissionTime = false;
showCompass=1;
showGPS=1;
showMap=1;
showNotepad=1;
showWatch=1;

// respawn=4;
// respawndelay=5;

disabledAI=true;

//##################################################################
//                        MISSION INTRO
//##################################################################

class RscStdText
{
	type=0;
	idc=-1;
	style=2; // zentrierter Text
	colorBackground[]={0,0,0,0}; // kein Hintergrund
	colorText[]={1,1,1,1};       // weisser Text
	font="TahomaB24";
	size=1;
};

class RscTitles
{
	titles[]={"INTRO"}; 
	
	class INTRO   // 1) Intro ******************
	{
		idd=-1;
	  	movingEnable=0;
	  	duration=6;  // Anzeigedauer (oder bis neuen TitleText-Befehl)
	  	fadein=4;     // Aufblenddauer
	  	name="INTRO";
	  	controls[]={"Bild","Mission1","Mission","Jahr"};

		class Bild : RscStdText
		{
	  	  	style=48;

//			text="recon1.jpg";
			text="recon.paa";

	  	  	x=0.4;// % vom linken Rand weg
	  	  	y=0.15;// % vom oberen Rand weg
	  	  	w=0.2;// % Bildschirmbreite
	  	  	h=0.25;// % Bildschirmhöhe
		};

		class Mission1 : RscStdText 
		{
//			text="Russian Knockout";
			text="$STR_TITLE";

	  	  	colorText[]={2,0,0,1};       // roter Text 

//			font="AudreysHandB48";
//			font="AudreysHandI48";
//			font="tahomaB24";
			font="tahomaB36";

			size=3.5;	  	  	
	  	  	x=0.1;
	  	  	y=0.45;
	  	  	w=0.8;
	  	  	h=0.1;
		};		  

		class Mission : RscStdText 
		{
	  	  	text="Made by Jason Bourne [Recon]";
	  	  	colorText[]={2,0,0,1};       // roter Text 
			font="CZERTB24";
			size=2.5;	  	  	
	  	  	x=0.1;
	  	  	y=0.6;
	  	  	w=0.8;
	  	  	h=0.1;
		};	
	  	
		class Jahr : RscStdText 
		{
	  	  	text="www.recon-clan.com";
	  	  	colorText[]={2,0,0,1};       // gelber Text 50%
	  	  	size=1.5;	
			x=0.2;
	  	  	y=0.9;
	  	  	w=0.6;
	  	  	h=0.05;
		};
	};
	  
};
//##################################################################
//                        MISSION MUSIC
//##################################################################
class CfgMusic
{
	track[]={spirit_in_the_sky_music};

	class spirit_in_the_sky_music
	{
		name="spirit_in_the_sky_music";
		sound[]={\Music\spirit_in_the_sky.ogg,1,1};
	};
};

class CfgSounds
{
	sounds[] = {spirit_in_the_sky_sound};
	class spirit_in_the_sky_sound
	{
		name = "spirit_in_the_sky_sound";
		sound[] = {"\Music\spirit_in_the_sky.ogg",1,1};
		titles[] = {};
	};
};


//########################################################################################
//                                     MISSION TIME
//########################################################################################

// titleParam1 = "Day Time:";
// valuesParam1[] = {0,2,15};
// defValueParam1 = 0;
// textsParam1[] = {"Dawn", "Day", "Night"};

titleParam1 = "Time:";
valuesParam1[] = {0, 6, 12, 18};
defValueParam1 = 6;
textsParam1[] = {"Night", "Morning", "Day", "Åvening"};

// titleParam2="Forcast";
// valuesParam2[]={0,1,2,3,4};
// defvalueParam2=1;
// textsParam2[]={"Random","No Fog","Min fog","Med Fog","Max Fog"};

titleParam2 = "Intro:";
valuesParam2[] = {0,1};
defValueParam2 = 0;
textsParam2[] = {"Off","On"};

//########################################################################################
//                                     REVIVE+SPECTATOR SCRIPT v1.4
//########################################################################################

respawn = "BASE";
respawnDelay = 9;

class auto_revive_by_Zigo_v1_4_0_RscSliderV
{
	type = 3;
	style = SL_VERT;
	color[] = {0, 1, 0, 1};
	angle = 0;
};
class auto_revive_by_Zigo_v1_4_0_RscText
{
	type = 0;
	idc = -1;
	style = 0;
	h = 0.04; 
	colorBackground[] = {0, 0, 0, 0};
	colorText[] = {0.08, 0.08, 0.12, 0.75};
  	font = "tahomaB24";
	sizeEx = 0.02;
};
class auto_revive_by_Zigo_v1_4_0_RscActiveText
{
	type = 11;
	style = 0;
	color[] = {0, 0, 0, 1};
	colorActive[] = {1, 1, 1, 1};
  	font = "SteelfishB64";
	sizeEx = 0.05;
	soundEnter[] = {"ui\ui_over", 0.2, 1};
	soundPush[] = {, 0.2, 1};
	soundClick[] = {"ui\ui_ok", 0.2, 1};
	soundEscape[] = {"ui\ui_cc", 0.2, 1};
	default = false;
};
class auto_revive_by_Zigo_v1_4_0_RscActiveMenu : auto_revive_by_Zigo_v1_4_0_RscActiveText
{
	color[] = {1, 1, 1, 1};
	colorActive[] = {1, 0, 0, 1};
	font = "SteelfishB64";
	sizeEx = 0.05;
	default = false;
};
class auto_revive_by_Zigo_v1_4_0_RscObject
{
	type = 80;
	scale = 1.0;
	direction[] = {0, 0, 1};
	up[] = {0, 1, 0};
};
class auto_revive_by_Zigo_v1_4_0_RscObjListBox
{
	type = 5;
	font = "SteelfishB64";	
	style = 4;
	selection = "display";
	angle = 0;
	size = 0.8;	// 3D size
	color[] = {0, 0, 0, 0};	
	colorSelect[] = {0, 1, 0, 1};
	colorSelectBackground[] = {0, 1, 0, 0.2};
	colorText[] = {0, 1, 0, 0.5};
};
class auto_revive_by_Zigo_v1_4_0_RscHTML{};

// FDF mod spectator
// Include from rscSpectate.hpp
//
// Spectating script v1.4 for FDF mod by Kegetys
//

class auto_revive_by_Zigo_v1_4_0_RscFDFDlgSpectateDeath1st
{
	idd = 821151552;
	movingEnable = true;
	controlsBackground[]=
	{
		Background1
	};
	class Background1 : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = 1047001;
		style = 128;
		x = 0.375;
		y = 0.02;
		w = 0.25;
		h = 0.04;
		text = ;
		colorBackground[] = {0, 0, 0, 0.8};
	};
	controls[]=
	{
		TitleS,
		Title,
		ButtonNEXT,
		ButtonPREV,
		PlrName
	};
	class Title : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = -1;
		style = 2;
		x = 0.375;
		y = 0.02;
		w = 0.25;
		h = 0.04;
		font = "SteelfishB64";
		//colorText[] = {1, 0, 0, 1};
		colorText[] = {0/255, 108/255, 169/255, 1.0};
		sizeEx = 0.038;
		text = "SPECTATING";
	};
	class TitleS : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = -1;
		style = 2;
		x = 0.375+0.002;
		y = 0.02+0.002;
		w = 0.25;
		h = 0.04;
		font = "SteelfishB64";
		colorText[] = {0, 0, 0, 0.8};
		sizeEx = 0.038;
		text = "SPECTATING";
	};
	class ButtonNEXT : auto_revive_by_Zigo_v1_4_0_RscActiveMenu
	{
		idc = -1;
		style = 2;
		x = 0.575;
		y = 0.021;
		w = 0.02;
		h = 0.031;
		text = ">";
		default = 0;
		soundClick[] = {"ui\ui_ok", 0.2, 1};
		action = "1 exec ""auto_revive_by_Zigo_v1_4_0_nextCam.sqs""";
	};
	class ButtonPREV : auto_revive_by_Zigo_v1_4_0_RscActiveMenu
	{
		idc = -1;
		style = 2;
		x = 0.4;
		y = 0.021;
		w = 0.02;
		h = 0.036;		
		text = "<";
		default = 0;
		soundClick[] = {"ui\ui_ok", 0.2, 1};
		action = "-1 exec ""auto_revive_by_Zigo_v1_4_0_nextCam.sqs""";
	};
	class PlrName : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = 116969;
		style = 2;
		x = 0.375;
		y = 0.060;
		w = 0.25;
		h = 0.02;
		font = "tahomaB36";
		colorText[] = {0, 0, 0, 0.6};
		color[] = {0, 0, 0, 0.6};
		colorActive[] = {0, 0, 0, 0.6};
/*		colorText[] = {1, 0, 0, 1};
		color[] = {1, 0, 0, 1};		
		colorActive[] = {1, 0.2, 0.2, 1};			*/
		//sizeEx = 0.05;
		text = "Unknown";	
	};
};
class auto_revive_by_Zigo_v1_4_0_RscFDFDlgSpectateDeath
{

	idd = 821151551;
	movingEnable = true;
	controlsBackground[]=
	{
		Background4,
		Background5,
		BackgroundMenu,
		BackgroundList
	};
	class Background4 : auto_revive_by_Zigo_v1_4_0_RscText
	{
		x = 0.0;
		y = 0.0;
		w = 1;
		h = 0.065;
		text = ;
		colorBackground[] = {0, 0, 0, 1};
	};
	class Background5 : auto_revive_by_Zigo_v1_4_0_RscText
	{
		x = 0.0;
		y = 0.935;
		w = 1;
		h = 0.065;
		text = ;
		colorBackground[] = {0, 0, 0, 1};
	};
	class BackgroundMenu : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = 1046006;
		style = 128;
		x = 0.02;
		y = 0.055;
		w = 0.120;
		h = 0.255;
		text = ;
		colorBackground[] = {0, 0, 0, 0.8};
	};	
	class BackgroundList : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = 1047001;
		style = 128;
		x = 0.84;
		y = 0.055;
		w = 0.14;
		h = 0.26;
		text = ;
		colorBackground[] = {0, 0, 0, 0.8};
	};
	controls[]=
	{
		Title,
		ButtonPREV,
		ButtonNEXT,
		Spectation,
		PlrName,
		menu,
		menu2,
		MenuPlrs,
		MenuPlrs2,
		MenuItem1,
		MenuItem2,
		MenuItem3,
		MenuItem4,
		MenuItem5,
		MenuItem6,
		MenuItem7,
		MenuItem8,
		MenuSlider,
		MenuLine,
		MenuLine2,
		MenuSliderLTR1,
		MenuSliderLTR2,
		MenuSliderLTR3,
		MenuSliderLTR4,
		MenuSliderLTR5,
		MenuSliderLTR6,
		MenuSliderLTR7,
		MenuSliderLTR8,
		ListBox
	};
	class ListBox : auto_revive_by_Zigo_v1_4_0_RscObjListBox
	{
		idc = 1047002;
		x = 0.85;
		y = 0.075;
		w = 0.12;
		h = 0.22;
		rows = 5;
		rowHeight = 0.01;
		size = 0.56;	// 3D size
		colorText[] = {1, 1, 1, 0.6};
		colorSelect[] = {0.3, 0.5, 1, 1};
		colorSelectBackground[] = {0, 1, 0, 0.2};
	};
	class Title : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = -1;
		style = 2;
		x = 0.2;
		y = -0.015;
		w = 0.6;
		h = 0.1;
		font = "SteelfishB64";
		colorText[] = {1, 0, 0, 1};
		sizeEx = 0.048;
		text = "YOU ARE DEAD";
	};
	class ButtonNEXT : auto_revive_by_Zigo_v1_4_0_RscActiveMenu
	{
		idc = -1;
		x = 0.90;
		y = 0.94;
		w = 0.15;
		h = 0.05;
		text = "Next >>";
		default = 0;
		soundClick[] = {"ui\ui_ok", 0.2, 1};
		action = "1 exec ""auto_revive_by_Zigo_v1_4_0_nextCam.sqs""";
	};
	class ButtonPREV : auto_revive_by_Zigo_v1_4_0_RscActiveMenu
	{
		idc = -1;
		x = 0.55;
		y = 0.94;
		w = 0.15;
		h = 0.05;
		text = "<< Previous";
		default = 0;
		soundClick[] = {"ui\ui_ok", 0.2, 1};
		action = "-1 exec ""auto_revive_by_Zigo_v1_4_0_nextCam.sqs""";
	};
	class Spectation : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = -1;
		style = 2;
		x = 0.70;
		y = 0.94;
		w = 0.15;
		h = 0.05;
		font = "SteelfishB64";
		colorText[] = {0/255, 108/255, 169/255, 1.0}; // FDF
		sizeEx = 0.05;
		text = "- Spectating -";
	};
	class PlrName : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = 116969;
		style = 2;
		x = 0.10;
		y = 0.94;
		w = 0.15;
		h = 0.05;
		font = "SteelfishB64";
		colorText[] = {0/255, 108/255, 169/255, 1.0}; // FDF
		color[] = {0/255, 108/255, 169/255, 1.0}; // FDF
		colorActive[] = {0/255, 108/255, 169/255, 1.0}; // FDF
/*		colorText[] = {1, 0, 0, 1};
		color[] = {1, 0, 0, 1};		
		colorActive[] = {1, 0.2, 0.2, 1}; //			*/
		sizeEx = 0.05;
		text = "Unknown";
	};
	class Menu : auto_revive_by_Zigo_v1_4_0_RscActiveMenu
	{
		idc = 1046007;
		x = 0.03;
		y = 0.02;
		w = 0.15;
		h = 0.025;
		text = "view menu";
		default = 0;
		angle = 90;
		colorActive[] = {0.4, 0.8, 1, 1};
		soundClick[] = {"ui\ui_ok", 0.2, 1};
		action = "ctrlShow [1046001,false];ctrlShow [1046002,false];ctrlShow [1046003,false];ctrlShow [1046004,false];ctrlShow [1046005,false];ctrlShow [1046006,false];ctrlShow [1046007,false];ctrlShow [1046008,true];ctrlShow [1046009,false];ctrlShow [1046010,false];ctrlShow [1046011,false];ctrlShow [1046012,false];ctrlShow [1046013,false];ctrlShow [1046014,false];ctrlShow [1046015,false];ctrlShow [1046016,false];ctrlShow [1046017,false];ctrlShow [1046018,false];ctrlShow [1046019,false];ctrlShow [1046020,false];ctrlShow [1046021,false];ctrlShow [1046022,false];ctrlShow [1046023,false]";
		sizeEx = 0.028;
	};
	class Menu2 : Menu
	{
		idc = 1046008;
		color[] = {1.0, 1.0, 1.0, 0.4};
		colorActive[] = {0.3, 0.5, 1, 1};
		action = "ctrlShow [1046001,true];ctrlShow [1046002,true];ctrlShow [1046003,true];ctrlShow [1046004,true];ctrlShow [1046005,true];ctrlShow [1046006,true];ctrlShow [1046007,true];ctrlShow [1046008,false];ctrlShow [1046009,true];ctrlShow [1046010,true];ctrlShow [1046011,true];ctrlShow [1046012,true];ctrlShow [1046013,true];ctrlShow [1046014,true];ctrlShow [1046015,true];ctrlShow [1046016,true];ctrlShow [1046017,true];ctrlShow [1046018,true];ctrlShow [1046019,true];ctrlShow [1046020,true];ctrlShow [1046021,true];ctrlShow [1046022,true];ctrlShow [1046023,true]";
	};
	class MenuPlrs : auto_revive_by_Zigo_v1_4_0_RscActiveMenu
	{		
		idc = 1048001;
		x = 0.92;
		y = 0.02;
		w = 0.15;
		h = 0.025;
		text = "namelist";
		default = 0;
		angle = 90;
		colorActive[] = {0.4, 0.8, 1, 1};
		soundClick[] = {"ui\ui_ok", 0.2, 1};
		action = "ctrlShow [1047002,false];ctrlShow [1047001,false];ctrlShow [1048001,false];ctrlShow [1048002,true];";
		sizeEx = 0.028;
	};	
	class MenuPlrs2 : MenuPlrs
	{
		idc = 1048002;
		color[] = {1.0, 1.0, 1.0, 0.4};
		colorActive[] = {0.3, 0.5, 1, 1};
		action = "ctrlShow [1047002,true];ctrlShow [1047001,true];ctrlShow [1048001,true];ctrlShow [1048002,false];";
	};
	class MenuItem1 : auto_revive_by_Zigo_v1_4_0_RscActiveMenu
	{
		idc = 1046001;
		x = 0.03;
		y = 0.073;
		w = 0.08;
		h = 0.025;
		text = "close view";
		default = 0;
		angle = 90;
		colorText[] = {1, 1, 1, 0.6};
		colorActive[] = {0.3, 0.5, 1, 1};
		soundClick[] = {"ui\ui_ok", 0.2, 1};
		action = "DeathCam camSetFOV 0.976;DeathCam camSetTarget vehicle DeathCamCurCamTarget;DeathCamComSpeed = 0.4;DeathCamRelPos = [0,-2,0.3];DeathCamTarHeight = 1.7;DeathCamCineViewSpecial = 0;DeathCamExit = false";
		sizeEx = 0.028;
	};
	class MenuItem2 : MenuItem1
	{
		idc = 1046002;
		y = 0.073 + (1*0.028);
		text = "far view";
		action = "DeathCam camSetFOV 0.976;DeathCam camSetTarget vehicle DeathCamCurCamTarget;DeathCamComSpeed = 1.9;DeathCamRelPos = [0,-8,2.5];DeathCamTarHeight = 1.5;DeathCamCineViewSpecial = 0;";
	};
	class MenuItem3 : MenuItem1
	{
		idc = 1046003;
		y = 0.073 + (2*0.028);
		text = "front view";
		action = "DeathCam camSetFOV 0.976;DeathCam camSetTarget vehicle DeathCamCurCamTarget;DeathCamComSpeed = 0.1;DeathCamRelPos = [0,4.0,0.02];DeathCamTarHeight = 1.7;DeathCamCineViewSpecial = 0;";
	};
	class MenuItem4 : MenuItem1
	{
		idc = 1046004;
		y = 0.073 + (3*0.028);
		text = "top view";
		action = "DeathCam camSetFOV 0.976;DeathCam camSetTarget [0,0,-99999999.99];DeathCamComSpeed = 0.05;DeathCamRelPos = [0,0.1,50.0];DeathCamTarHeight = 1.7;DeathCamCineViewSpecial = 2;";
	};
	class MenuItem5 : MenuItem1
	{
		idc = 1046005;
		y = 0.073 + (4*0.028);
		text = "cinematic view";
		action = "DeathCam camSetFOV 0.976;DeathCam camSetTarget vehicle DeathCamCurCamTarget;DeathCamRelPos = [3,70.1,10.0];DeathCam camSetRelPos DeathCamRelPos;DeathCamComSpeed = 0;DeathCamCineViewSpecial = 1;";
	};
	class MenuItem6 : MenuItem1
	{
		idc = 1046020;
		y = 0.073 + (5*0.028);
		text = "1st person view";
		action = "DeathCamCineViewSpecial = 3;";
	};
	class MenuItem7 : MenuItem1
	{
		idc = 1046021;
		y = 0.073 + (6*0.028);
		text = "gunner view";
		action = "DeathCamCineViewSpecial = 4;";
	};
	class MenuItem8 : MenuItem1
	{
		idc = 1046023;
		y = 0.073 + (7.1*0.028);
		w = 0.1;
		text = "missile cam: enabled";
		action = "DeathCamMissileCamEnabled = !DeathCamMissileCamEnabled;if(DeathCamMissileCamEnabled) then {ctrlSetText[1046023,""missile cam: enabled""]} else {ctrlSetText[1046023,""missile cam: disabled""]}";		
	};
	class MenuLine : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = 1046011;
		style = 176;
		x = 0.113;
		y = 0.0;
		w = 0;
		h = 0.270;
		text = ;
		colorBackground[] = {1, 1, 1, 1};
		color[] = {1, 1, 1, 1};
		colorText[] = {0, 0, 0, 1};
	};
	class MenuLine2 : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = 1046022;
		style = 176;
		x = 0.02;
		y = 0.270;
		w = 0.120;
		h = 0;
		text = ;
		colorBackground[] = {1, 1, 1, 1};
		color[] = {1, 1, 1, 1};
		colorText[] = {0, 0, 0, 1};
	};
	class MenuSlider : auto_revive_by_Zigo_v1_4_0_RscSliderV
	{
		idc = 1046010;
		x = 0.12;
		y = 0.08;
		w = 0.015;
		h = 0.15;
		color[] = {1, 1, 1, 0.8};
	};
	class MenuSliderLTR1 : auto_revive_by_Zigo_v1_4_0_RscText
	{
		idc = 1046012;
		x = 0.1145;
		y = 0.1045;
		w = 0.015;
		h = 0.01;
		text = "D";
		color[] = {1, 1, 1, 1};
		colorText[] = {1, 1, 1, 0.2};
		sizeEx = 0.018;
	};
	class MenuSliderLTR2 : MenuSliderLTR1
	{
		idc = 1046013;
		x = 0.1150;
		y = 0.1175;
		text = "I";
	};
	class MenuSliderLTR3 : MenuSliderLTR1
	{
		idc = 1046014;
		y = 0.1305;
		text = "S";
	};
	class MenuSliderLTR4 : MenuSliderLTR1
	{
		idc = 1046015;
		y = 0.1435;
		text = "T";
	};
	class MenuSliderLTR5 : MenuSliderLTR1
	{
		idc = 1046016;
		y = 0.1565;
		text = "A";
	};
	class MenuSliderLTR6 : MenuSliderLTR1
	{
		idc = 1046017;
		y = 0.1695;
		text = "N";
	};
	class MenuSliderLTR7 : MenuSliderLTR1
	{
		idc = 1046018;
		y = 0.1830;
		text = "C";
	};
	class MenuSliderLTR8 : MenuSliderLTR1
	{
		idc = 1046019;
		y = 0.1960;
		text = "E";
	};
};

class auto_revive_by_Zigo_v1_4_0_RscReviveTITLE
{
	type = 0;idc = -1;style = 0;
	h = 0.04; 
	colorBackground[] = {0, 0, 0, 0};colorText[] = {1, 1, 1, 1};
	font = SteelfishB128;sizeEx = 0.2;
};

class auto_revive_by_Zigo_v1_4_0_RscDlgReviveDisplay
{
  	idd = 333091;
  	movingEnable = false;
  	controlsBackground[] = 	
	{
		TITLE_Revive1
	};
  	objects[] = {};
 	controls[]= {};
	class TITLE_Revive1 : auto_revive_by_Zigo_v1_4_0_RscReviveTITLE
	{
		idc = 0001029;
		style = 16 + 2 + 512;
		text = "";
		linespacing=1;
		x = 0.07; y = 0.65; w = 0.9; h = 0.5;
		colorText[] = {0.5, 0, 0, 1};
		sizeEx = .7;
		size = .7;
		font = "SteelfishB128";
	};
};
